class HomeController < ApplicationController
  def index
    @recommend_subjects ||= RecommendSubject.active
    @scroll_items = @recommend_subjects.scroll_item.item_recommends rescue []
    @hot_search_tags = @recommend_subjects.hot_search.item_recommends rescue []
    @site_recommend = @recommend_subjects.recommend_item
  end

end
